package com.med.mapper;

import com.med.entity.AddressDO;

import com.med.vo.AddressVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


import java.util.List;

@Mapper
public interface AddressMapper {
    List<AddressDO> queryAddressMessage(@Param("addressVO")AddressVO addressVO);
    Integer insertAddress(@Param("addressVO")AddressVO addressVO);
    Integer deleteAddress(@Param("addressVO")AddressVO addressVO);
    Integer updateAddress(@Param("addressVO")AddressVO addressVO);

    List<AddressDO> queryOneAddress(@Param("addressVO")AddressVO addressVO);
}
